package Day0807;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author 杰哥不要啦~
 * @date 2021/8/7
 */
public class Test3 {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newCachedThreadPool();

        executorService.submit(()->{
            System.out.println(Thread.currentThread().getName()+"正在运行");
        });


        executorService.submit(()->{
            System.out.println(Thread.currentThread().getName()+"正在运行");
        });
    }
}
